package com.shigu.component.shiro;

import com.shigu.admin.common.vo.OemVO;

import java.io.Serializable;

/**
 * 会话对象
 * @author zjb
 */
public class AuthorityUser implements Serializable{

	private static final long serialVersionUID = -4180134907607936704L;
	/**
	 * 用户数字编号ID
	 */
	private Long userId;
	/** 用户id */
	private String adminId;

	/** 用户名 */
	private String userName;

	/**
	 * 用户昵称
	 */
	private String nick;
	
	/** 角色ids */
	private String roleIds;
	
	/** 角色名称s */
	private String roleNames;

	/** oem信息 */
	private OemVO oemVO;


	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getAdminId() {
		return adminId;
	}

	public void setAdminId(String adminId) {
		this.adminId = adminId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getRoleIds() {
		return roleIds;
	}

	public void setRoleIds(String roleIds) {
		this.roleIds = roleIds;
	}

	public String getRoleNames() {
		return roleNames;
	}

	public void setRoleNames(String roleNames) {
		this.roleNames = roleNames;
	}

	public String getNick() {
		return nick;
	}

	public void setNick(String nick) {
		this.nick = nick;
	}

	@Override
	public String toString() {
		return  nick;
	}

	public OemVO getOemVO() {
		return oemVO;
	}

	public void setOemVO(OemVO oemVO) {
		this.oemVO = oemVO;
	}
}
